/*
 * @(#)api-define.js 1.0.0 14/02/13
 * Copyright 2014© Emagsoftware Technology Co., Ltd. All Rights reserved.
 */
var api_defines = [];
var api_callback = {};

var activityApi = {
    category: "activityApi",
    name: "养车活动API",
    api: []
};

api_defines.push(activityApi);

activityApi.api.push({
                         name: "查询活动信息接口", uri: "api/activity/v1.0/info/{activityId}",
                         fields: [{name: "活动ID", key: "activityId", value: "32"}
                         ]
                     });

activityApi.api.push({
                         name: "查询客户活动信息（二维码页面)",
                         uri: "api/activity/v1.0/order/{customerActivityId}",
                         fields: [{name: "客户活动记录ID", key: "customerActivityId", value: "62"}
                         ]
                     });

activityApi.api.push({
                         name: "客户输入手机号参加活动接口",
                         uri: "api/activity/v1.0/attend/{customerActivityId}",
                         fields: [
                             {name: "客户活动ID", key: "customerActivityId", value: "62"},
                             {name: "手机号", key: "phone", value: ""}
                         ]
                     });

activityApi.api.push({
                         name: "商家确认使用客户活动订单接口", uri: "api/activity/v1.0/use",
                         fields: [
                             {name: "企业商户ID", key: "companyId", value: ""},
                             {name: "验证码(二维码)", key: "verifyCode", value: ""}
                         ]
                     });






